package com.delivery.deliverysystem.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 产品类别表
 * @TableName product_category
 */
@TableName(value ="product_category")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductCategory implements Serializable {
    /**
     * 产品类别id
     */
    @TableId(value = "category_id", type = IdType.AUTO)
    @ApiModelProperty("产品类别id")
    private Integer categoryId;

    /**
     * 产品类别名称
     */
    @ApiModelProperty("产品类别名称")
    private String categoryName;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}